﻿using System;
using System.ComponentModel.DataAnnotations;
using FreeSql.DataAnnotations;

namespace Ynzp.DemoApi.Entities
{
    public class Post
    {
        [Column(IsPrimary = true, IsIdentity = true, Position = 1)]
        public int Id { get; set; }

        public string Subject { get; set; }
        public string Text { get; set; }
        public DateTime DateAdded { get; set; }
    }
}
